﻿using mds.BaseFrameModel;
using System.Collections.Generic;
using System.Data;

namespace mds.DataAccessService
{
    public interface IDatabase
    {
         int ExecuteNonQuery(string connectionString, string sql, CommandType cmdType, List<SqlDataParmeter> pamarmeters, bool isMultiStore = false);
         T GetData<T>(string connectionString, string sql, CommandType cmdType, List<SqlDataParmeter> pamarmeters, InitObject<T> init, bool isMultiStore = false);
    }
}
